package com.zzyk.main.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzyk.main.mapper.GroupUserMapper;
import com.zzyk.main.model.dto.ListUserDTO;
import com.zzyk.main.model.pojo.GroupUser;
import com.zzyk.main.service.GroupUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class GroupUserServiceImpl extends ServiceImpl<GroupUserMapper, GroupUser> implements GroupUserService{
    @Resource
    private GroupUserMapper groupUserMapper;
    @Override
    public List<ListUserDTO> getByGroupJoinUser(Integer group) {
        return groupUserMapper.selectByGroupJoinUser(group);
    }
}
